[INFO] cloning repository https://github.com/Kobayashi-takumi/gpt-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kobayashi-takumi/gpt-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKobayashi-takumi%2Fgpt-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKobayashi-takumi%2Fgpt-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c77663103e586aa148ab196359566d7b5b8f4185
[INFO] testing Kobayashi-takumi/gpt-rs against master#cced03bfd61a304243a34504618ecec86c17063f for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKobayashi-takumi%2Fgpt-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kobayashi-takumi/gpt-rs
[INFO] finished tweaking git repo https://github.com/Kobayashi-takumi/gpt-rs
[INFO] tweaked toml for git repo https://github.com/Kobayashi-takumi/gpt-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kobayashi-takumi/gpt-rs on toolchain cced03bfd61a304243a34504618ecec86c17063f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kobayashi-takumi/gpt-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fastrand v2.0.0
[INFO] [stderr]   Downloaded errno v0.3.1
[INFO] [stderr]   Downloaded tempfile v3.7.0
[INFO] [stderr]   Downloaded bitflags v2.3.3
[INFO] [stderr]   Downloaded serde v1.0.175
[INFO] [stderr]   Downloaded reqwest v0.11.18
[INFO] [stderr]   Downloaded openssl-sys v0.9.90
[INFO] [stderr]   Downloaded url v2.4.0
[INFO] [stderr]   Downloaded serde_json v1.0.103
[INFO] [stderr]   Downloaded tokio-util v0.7.8
[INFO] [stderr]   Downloaded async-trait v0.1.72
[INFO] [stderr]   Downloaded anyhow v1.0.72
[INFO] [stderr]   Downloaded base64 v0.21.2
[INFO] [stderr]   Downloaded openssl v0.10.55
[INFO] [stderr]   Downloaded h2 v0.3.20
[INFO] [stderr]   Downloaded rustix v0.38.4
[INFO] [stderr]   Downloaded serde_derive v1.0.175
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.3
[INFO] [stderr]   Downloaded encoding_rs v0.8.32
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] da3388d432cb793c69f25bcdb944c285f75f8b7956f564c32fd39b3287db0ac8
[INFO] running `Command { std: "docker" "start" "-a" "da3388d432cb793c69f25bcdb944c285f75f8b7956f564c32fd39b3287db0ac8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "da3388d432cb793c69f25bcdb944c285f75f8b7956f564c32fd39b3287db0ac8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "da3388d432cb793c69f25bcdb944c285f75f8b7956f564c32fd39b3287db0ac8", kill_on_drop: false }`
[INFO] [stdout] da3388d432cb793c69f25bcdb944c285f75f8b7956f564c32fd39b3287db0ac8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db848a1f29bf8ad48b8ff13301a11cacb39855ebb3dc63fea124e84b21d1cfa4
[INFO] running `Command { std: "docker" "start" "-a" "db848a1f29bf8ad48b8ff13301a11cacb39855ebb3dc63fea124e84b21d1cfa4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling itoa v1.0.9
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling openssl v0.10.55
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling serde v1.0.175
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling serde_derive v1.0.175
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling ryu v1.0.15
[INFO] [stderr]    Compiling serde_json v1.0.103
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling async-trait v0.1.72
[INFO] [stderr]    Compiling anyhow v1.0.72
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling ipnet v2.8.0
[INFO] [stderr]    Compiling base64 v0.21.2
[INFO] [stderr]    Compiling syn v2.0.27
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling openssl-sys v0.9.90
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling url v2.4.0
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio v1.29.1
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling h2 v0.3.20
[INFO] [stderr]    Compiling hyper v0.14.27
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.18
[INFO] [stderr]    Compiling gpt-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/entry_point.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr`
[INFO] [stdout]  --> src/entry_point.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::PathBuf, str::FromStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.55s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "db848a1f29bf8ad48b8ff13301a11cacb39855ebb3dc63fea124e84b21d1cfa4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db848a1f29bf8ad48b8ff13301a11cacb39855ebb3dc63fea124e84b21d1cfa4", kill_on_drop: false }`
[INFO] [stdout] db848a1f29bf8ad48b8ff13301a11cacb39855ebb3dc63fea124e84b21d1cfa4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b53c6c31b826be6e5384b86d069695933f44b7ae4f6a83323d04e218cedd139
[INFO] running `Command { std: "docker" "start" "-a" "5b53c6c31b826be6e5384b86d069695933f44b7ae4f6a83323d04e218cedd139", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `anyhow::Result`
[INFO] [stdout]  --> src/entry_point.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::Result;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr`
[INFO] [stdout]  --> src/entry_point.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::PathBuf, str::FromStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling gpt-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `path::PathBuf` and `str::FromStr`
[INFO] [stdout]  --> src/entry_point.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::PathBuf, str::FromStr};
[INFO] [stdout]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.44s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] running `Command { std: "docker" "inspect" "5b53c6c31b826be6e5384b86d069695933f44b7ae4f6a83323d04e218cedd139", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b53c6c31b826be6e5384b86d069695933f44b7ae4f6a83323d04e218cedd139", kill_on_drop: false }`
[INFO] [stdout] 5b53c6c31b826be6e5384b86d069695933f44b7ae4f6a83323d04e218cedd139
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+cced03bfd61a304243a34504618ecec86c17063f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3a5fc26ac1a24166681224d780e19ea71b9ccbc6a656579535fa162ebaed0b37
[INFO] running `Command { std: "docker" "start" "-a" "3a5fc26ac1a24166681224d780e19ea71b9ccbc6a656579535fa162ebaed0b37", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `anyhow::Result`
[INFO] [stderr]  --> src/entry_point.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use anyhow::Result;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `path::PathBuf` and `str::FromStr`
[INFO] [stderr]  --> src/entry_point.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::{path::PathBuf, str::FromStr};
[INFO] [stderr]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `gpt-rs` (lib) generated 2 warnings (run `cargo fix --lib -p gpt-rs` to apply 2 suggestions)
[INFO] [stderr] warning: unused imports: `path::PathBuf` and `str::FromStr`
[INFO] [stderr]  --> src/entry_point.rs:2:11
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::{path::PathBuf, str::FromStr};
[INFO] [stderr]   |           ^^^^^^^^^^^^^  ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `gpt-rs` (lib test) generated 1 warning (run `cargo fix --lib -p gpt-rs --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gpt_rs-ad50ec6030bca828)
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test chat::tests::builder ... ok
[INFO] [stdout] test image::tests::builder ... ok
[INFO] [stdout] test image::tests::post ... FAILED
[INFO] [stdout] test chat::tests::post ... FAILED
[INFO] [stdout] test entry_point::tests::entry_point ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stdout] ---- image::tests::post stdout ----
[INFO] [stdout] Error: API_KEY must be set.
[INFO] [stdout] 
[INFO] [stdout] ---- chat::tests::post stdout ----
[INFO] [stdout] Error: API_KEY must be set.
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     chat::tests::post
[INFO] [stdout]     image::tests::post
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "3a5fc26ac1a24166681224d780e19ea71b9ccbc6a656579535fa162ebaed0b37", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3a5fc26ac1a24166681224d780e19ea71b9ccbc6a656579535fa162ebaed0b37", kill_on_drop: false }`
[INFO] [stdout] 3a5fc26ac1a24166681224d780e19ea71b9ccbc6a656579535fa162ebaed0b37
